<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    div {
      /* font-size: 50px; */
      background: linear-gradient(90deg gray 66%, transparent 0) repeat-x;
      background-size: .2em 2px;
      background-position: 0 1em;

    }
  </style>
</head>

<body>
  <div>
    陈凯哥是只猪头 猪头猪头猪头......
  </div>
</body>

</html>